#include<stdio.h>
#include"insertion_sort_from_CLRS.c"
#include"/code/custom-headers/PrintingRoutines.c"
#define MAX 15
#define RANDOM rand() % 1000		//Specify the modulus for random numbers here

int main()
{
	int i;
	int Array[MAX]/* = { 214, 314, 524, 728, 913, 632, 111, 888, 625, 426, 339, 229, 936, 945, 119 }*/;

    //Populate the Array with random integers
	srand(time(NULL));		//Generate seed from current time
	for (i = 0; i < MAX; i++)
		Array[i] = RANDOM;

	InsertionSort(Array, MAX);
	PrintArray(Array, MAX);

	getch();
}
